import { IsNotEmpty } from 'class-validator';

export class PaginationDto {
  @IsNotEmpty({ message: 'page不能为空' })
  page: number;

  @IsNotEmpty({ message: 'limit不能为空' })
  limit: number;
}
